﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Component
{
    public class CrossRegion
    {
        double x;
        double y;
        double xMin;
        double xMax;
        double yMin;
        double yMax;





        public CrossRegion(double x, double y,double xMin,double xMax,double yMin,double yMax)
        {
            this.X = x;
            this.Y = y;
            this.XMin = xMin;
            this.XMax = xMax;
            this.YMin = yMin;
            this.YMax = yMax;
        }

     

        public double X { get => x; set => x = value; }
        public double Y { get => y; set => y = value; }
        public double XMin { get => xMin; set => xMin = value; }
        public double XMax { get => xMax; set => xMax = value; }
        public double YMin { get => yMin; set => yMin = value; }
        public double YMax { get => yMax; set => yMax = value; }
    }
}
